<script type="text/javascript">
query_leaveRecord();
function query_leaveRecord(){
	sys_loading();
	var page = sys_fill_parm('queryForm');
	var parm = $('#queryForm').serialize() + (page != null ? ('&page=' + page) : '');
	var url = create_url('leaveRecord-query');
	sys_record_parm('leaveRecord',parm);
	$.ajax({type:'POST', url:url, data:parm,
		success: function(result) {
			sys_loading_close();
			$('#leaveList').html(result);
		}
	});
}
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<form id="queryForm">
<table class="search_term_table">
	<tr>
		<th style="width:80px;">请假人</th>
		<td><input class="form-control" type="text" name="un" style="width:100px;"/></td>
		<th style="width: 80px;">请假时间</th>
		<td>
			<input id="st" type="text" style="width:80px;" name="start" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});">
		</td>
		<td style="text-align:right;">
		<button class="btn btn-info" onclick="javascript: query_leaveRecord(); return false;"><i class="icon-search"></i> 查 询 </button>
		</td>
	</tr>
</table>
</form>
<div id="leaveList"></div>
